// samsting : this file is auto create.

#include "Ons/2015-10-20/OnsMessageSendRequest.h"

namespace aliyun { namespace Ons {

OnsMessageSendRequest::OnsMessageSendRequest() : RpcAcsRequest("Ons", "2015-10-20", "OnsMessageSend") {
}

const string& OnsMessageSendRequest::GetOnsRegionId(void) const {
  return OnsRegionId_;
}
void OnsMessageSendRequest::SetOnsRegionId(const string& OnsRegionId) {
  OnsRegionId_ = OnsRegionId;
  PutQueryParameter("OnsRegionId", OnsRegionId_);
}

const string& OnsMessageSendRequest::GetOnsPlatform(void) const {
  return OnsPlatform_;
}
void OnsMessageSendRequest::SetOnsPlatform(const string& OnsPlatform) {
  OnsPlatform_ = OnsPlatform;
  PutQueryParameter("OnsPlatform", OnsPlatform_);
}

int64 OnsMessageSendRequest::GetPreventCache(void) const {
  return PreventCache_;
}
void OnsMessageSendRequest::SetPreventCache(int64 PreventCache) {
  PreventCache_ = PreventCache;
  PutQueryParameter("PreventCache", string_ValueOfInt64(PreventCache_));
}

const string& OnsMessageSendRequest::GetProducerId(void) const {
  return ProducerId_;
}
void OnsMessageSendRequest::SetProducerId(const string& ProducerId) {
  ProducerId_ = ProducerId;
  PutQueryParameter("ProducerId", ProducerId_);
}

const string& OnsMessageSendRequest::GetTopic(void) const {
  return Topic_;
}
void OnsMessageSendRequest::SetTopic(const string& Topic) {
  Topic_ = Topic;
  PutQueryParameter("Topic", Topic_);
}

const string& OnsMessageSendRequest::GetTag(void) const {
  return Tag_;
}
void OnsMessageSendRequest::SetTag(const string& Tag) {
  Tag_ = Tag;
  PutQueryParameter("Tag", Tag_);
}

const string& OnsMessageSendRequest::GetKey(void) const {
  return Key_;
}
void OnsMessageSendRequest::SetKey(const string& Key) {
  Key_ = Key;
  PutQueryParameter("Key", Key_);
}

const string& OnsMessageSendRequest::GetMessage(void) const {
  return Message_;
}
void OnsMessageSendRequest::SetMessage(const string& Message) {
  Message_ = Message;
  PutQueryParameter("Message", Message_);
}


} } // namespace aliyun { namespace Ons {

// end of file 
